@echo off
set PATH=%PATH%;%CD%\tools\7z;

echo start nwjs-v0.12.0-win-ia32/nw.exe . >> start.bat
set COMPRESS_FILE=%CD%\editor.md
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\emoji-cheat-sheet.com
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\katex
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\to-markdown
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\twemoji
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\Zebra_Dialog
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\tools\nwjs-v0.12.0-win-ia32
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\favicon.ico
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\LICENSE
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\main.html
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\package.json
set COMPRESS_FILE=%COMPRESS_FILE% %CD%\start.bat

7z a -r -t7z editor.md.app.package.1.4.0.7z %COMPRESS_FILE%
del start.bat

pause

